package com.zjcode.cas.service;

import com.alibaba.fastjson.JSONObject;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;

@FeignClient(value = "zjcode-cas-sync-service")
public interface CasSyncService {

    /**
     * 同步cas中的所有用户
     * @return
     */
    @GetMapping("/cassync/v1/sync/queryAllUsers")
    JSONObject queryAllUsers();
}
